package com.woniu.smart.mapper;

import com.woniu.smart.dto.FollowDTO;
import com.woniu.smart.entity.Follow;
import com.woniu.smart.vo.FollowVO;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【follow(跟进表)】的数据库操作Mapper
* @createDate 2022-10-26 15:08:55
* @Entity com.woniu.smart.entity.Follow
*/
public interface FollowMapper {

    List<FollowVO> selectAllByCustomerId(FollowDTO followDTO);//查全部
    List<Long> selectFollowIdByCustomerId(Long id);//查全部

    int deleteByPrimaryKey(Long id);

    int insert(Follow record);

    int insertSelective(Follow record);

    Follow selectByPrimaryKey(Long id);
    FollowVO selectByFollowId(Long id);//详情功能，根据id查对象

    int updateByPrimaryKeySelective(Follow record);

    int updateByPrimaryKey(Follow record);

}
